
module.exports = ['$scope','$rootScope','$location','$routeParams','$timeout',
    function($scope, $rootScope, $location, $routeParams, $timeout){

    	var _refresh = $location.search();

    	// console.log($location);

    	if (_refresh.refresh && _refresh.refresh == 1) {

    		window.location.href = 'http://' + $location.host() + ':' + $location.port();
    	}

}]


